<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
    <meta charset="UTF-8"/>
    <title>Thymeleaf in action</title>
</head>
<body>
<div th:replace="fragments/header :: header"></div>
<p>
    <strong>ID:</strong><span th:text="${userModel.user.id}"></span>
    <strong>Name:</strong><span th:text="${userModel.user.name}"></span>
    <strong>Email:</strong><span th:text="${userModel.user.email}"></span>
</p>
<div>
    <a th:href="@{'/users/delete/'+${userModel.user.id}}">删除</a>
    <a th:href="@{'/users/modify/'+${userModel.user.id}}">修改</a>
</div>
</body>
</html>